export interface CourseParams {
  pageSize: number
  pageNum: number
  name?: string
  kindId?: number
}

export interface CourseItem {
  id: string
  name: string
  duration: number
  coursewares: number
  brief: string
  useCrowd: string
  kindId: number
  harvest: string
  notice: string
  readNum: number
  teacherId: number
  teacherName: string
  kindName: string
}

export interface CourseResponse {
  list: CourseItem[]
  total: number
}

export interface KindParams {
  pageSize: number
  pageNum: number
  name?: string
}

export interface KindItem {
  id: string
  name: string
}

export interface KindResponse {
  list: KindItem[]
  total: number
}
